﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace QMERP.Infrastructure.EFCore.Migrations
{
    /// <inheritdoc />
    public partial class init9 : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            //migrationBuilder.DropIndex(
            //    name: "IX_BulkOrder_RelationNumber",
            //    table: "BulkOrder");

            migrationBuilder.DropColumn(
                name: "RelationNumber",
                table: "BulkOrder");
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "RelationNumber",
                table: "BulkOrder",
                type: "nvarchar(30)",
                maxLength: 30,
                nullable: true);

            //migrationBuilder.CreateIndex(
            //    name: "IX_BulkOrder_RelationNumber",
            //    table: "BulkOrder",
            //    column: "RelationNumber");
        }
    }
}
